package config.table.xls;

public class XlsToMysql 
{
	public static void main(String[] args) throws Exception
	{
		//启动参数
		/*
			mysql.url=192.168.2.24:3307
			mysql.database=combat-config-zzb
			mysql.username=dev
			mysql.password=123456
			xls.ignore.suffix=Table
			xls.dir=D:\Public\TableTool\xls
			xls.data.start.coll=1
			xls.data.start.row=4
			xls.data.coll.name.row=2
			xls.data.coll.type.row=1
			xls.data.coll.desc.row=3
			server.notify.url=http://192.168.2.171:10001/manager/onlyReloadTable
			server.access.token=a384baf79c6c4bb78c34cd8c0a4d9879
			
			java -jar xls-to-sql.jar mysql.url=192.168.2.24:3307 mysql.database=combat-config-zzb mysql.username=dev mysql.password=123456 xls.ignore.suffix=Table xls.dir=D:\Public\TableTool\xls xls.data.start.coll=1 xls.data.start.row=4 xls.data.coll.name.row=2 xls.data.coll.type.row=1 xls.data.coll.desc.row=3 server.notify.url=http://192.168.2.171:10001/manager/onlyReloadTable server.access.token=a384baf79c6c4bb78c34cd8c0a4d9879
		*/
		
		Parameters.Instance.init(args);
		ConfigTableFile.Instance.init();
		ConfigTableMysql.Instance.init();
	}
}
